package cz.data.common.support.db.driver;

import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class JdbcCustomOperation {

    @NotBlank(message = "数据源不能为空")
    private String source;
    @NotBlank(message = "执行命令不能为空")
    private String command;
    private JSONObject params;

    private Integer pageNum = 1;
    private Integer pageSize = 20;
}
